
public class FrenchDate implements Date{
	private Integer day;
	private Integer month;
	private Integer year;
	public FrenchDate(int d, int m, int y){
		if( (d>0)&&(d<32)&&(m>0)&& (m<13) && (y>0))
		{
			this.day=d;
			this.month=m;
			this.year=y;
		}
	}
public String getDate()
{
	return this.day.toString()+ "-" +this.month.toString()+ "-"+this.year.toString();
	
}
public String toString(){
return this.day.toString()+ "-" +this.month.toString()+ "-"+this.year.toString();
}
}
